package com.lab.rx;

import rx.Subscriber;

/**
 * Created by MiJack on 2015/12/22.
 */
public class BaseSubscriber<T> extends Subscriber<T> {
    private String name;

    public BaseSubscriber() {
        name = toString();
    }

    public BaseSubscriber(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    @Override
    public void onCompleted() {

    }

    @Override
    public void onError(Throwable e) {

    }

    @Override
    public void onNext(T t) {

    }
}
